:host {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
  }
  
  .popup-tip {
    position: relative;
    min-width: 120px;
    max-width: 250px;
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
  }
  
  .popup-tip-content {
    display: flex;
    align-items: center;
  }
  
  .popup-tip-icon {
    margin-right: 8px;
    font-size: 14px;
  }
  
  .popup-tip-message {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .popup-tip-close {
    background: none;
    border: none;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
  }
  
  .popup-tip-close:hover {
    color: rgba(0, 0, 0, 0.75);
  }
  
  .popup-tip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
  }
  
  .popup-tip-arrow-top {
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-color: currentColor transparent transparent;
  }
  
  .popup-tip-arrow-bottom {
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 5px;
    border-color: transparent transparent currentColor;
  }
  
  .popup-tip-arrow-left {
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent currentColor;
  }
  
  .popup-tip-arrow-right {
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 5px 5px 0;
    border-color: transparent currentColor transparent transparent;
  }
  
  /* 成功样式 */
  .popup-tip-success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
  }
  
  .popup-tip-success .popup-tip-arrow-top {
    border-top-color: #b7eb8f;
  }
  
  .popup-tip-success .popup-tip-arrow-bottom {
    border-bottom-color: #b7eb8f;
  }
  
  .popup-tip-success .popup-tip-arrow-left {
    border-left-color: #b7eb8f;
  }
  
  .popup-tip-success .popup-tip-arrow-right {
    border-right-color: #b7eb8f;
  }
  
  .popup-tip-icon-success {
    color: #52c41a;
  }
  
  /* 错误样式 */
  .popup-tip-error {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
  }
  
  .popup-tip-error .popup-tip-arrow-top {
    border-top-color: #ffccc7;
  }
  
  .popup-tip-error .popup-tip-arrow-bottom {
    border-bottom-color: #ffccc7;
  }
  
  .popup-tip-error .popup-tip-arrow-left {
    border-left-color: #ffccc7;
  }
  
  .popup-tip-error .popup-tip-arrow-right {
    border-right-color: #ffccc7;
  }
  
  .popup-tip-icon-error {
    color: #ff4d4f;
  }
  
  /* 信息样式 */
  .popup-tip-info {
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
    color: #1890ff;
  }
  
  .popup-tip-info .popup-tip-arrow-top {
    border-top-color: #91d5ff;
  }
  
  .popup-tip-info .popup-tip-arrow-bottom {
    border-bottom-color: #91d5ff;
  }
  
  .popup-tip-info .popup-tip-arrow-left {
    border-left-color: #91d5ff;
  }
  
  .popup-tip-info .popup-tip-arrow-right {
    border-right-color: #91d5ff;
  }
  
  .popup-tip-icon-info {
    color: #1890ff;
  }
  
  /* 警告样式 */
  .popup-tip-warning {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    color: #faad14;
  }
  
  .popup-tip-warning .popup-tip-arrow-top {
    border-top-color: #ffe58f;
  }
  
  .popup-tip-warning .popup-tip-arrow-bottom {
    border-bottom-color: #ffe58f;
  }
  
  .popup-tip-warning .popup-tip-arrow-left {
    border-left-color: #ffe58f;
  }
  
  .popup-tip-warning .popup-tip-arrow-right {
    border-right-color: #ffe58f;
  }
  
  .popup-tip-icon-warning {
    color: #faad14;
  }
  
  @media (max-width: 576px) {
    .popup-tip {
      max-width: calc(100vw - 40px);
    }
  }